package net.maku.system.erp.convert;

import net.maku.system.erp.vo.SysWarehouseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import net.maku.system.erp.entity.SysWarehouseEntity;
import java.util.List;

@Mapper
public interface SysWarehouseConvert {

    SysWarehouseConvert INSTANCE = Mappers.getMapper(SysWarehouseConvert.class);

    SysWarehouseEntity convert(SysWarehouseVO vo);

    SysWarehouseVO convert(SysWarehouseEntity entity);

    List<SysWarehouseVO> convertList(List<SysWarehouseEntity> list);

}
